package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.TbListExpassMapper;
import com.ruoyi.system.domain.TbListExpass;
import com.ruoyi.system.service.ITbListExpassService;

/**
 * Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-01-18
 */
@Service
public class TbListExpassServiceImpl implements ITbListExpassService 
{
    @Autowired
    private TbListExpassMapper tbListExpassMapper;

    /**
     * 查询
     * 
     * @param hgListId 主键
     * @return 
     */
    @Override
    public TbListExpass selectTbListExpassByHgListId(String hgListId)
    {
        return tbListExpassMapper.selectTbListExpassByHgListId(hgListId);
    }

    /**
     * 查询列表
     * 
     * @param tbListExpass 
     * @return 
     */
    @Override
    public List<TbListExpass> selectTbListExpassList(TbListExpass tbListExpass)
    {
        return tbListExpassMapper.selectTbListExpassList(tbListExpass);
    }

    @Override
    public List<TbListExpass> selectTbListExpassCount(TbListExpass tbListExpass)
    {
        return tbListExpassMapper.selectTbListExpassCount(tbListExpass);
    }

    /**
     * 新增
     * 
     * @param tbListExpass 
     * @return 结果
     */
    @Override
    public int insertTbListExpass(TbListExpass tbListExpass)
    {
        return tbListExpassMapper.insertTbListExpass(tbListExpass);
    }

    /**
     * 修改
     * 
     * @param tbListExpass 
     * @return 结果
     */
    @Override
    public int updateTbListExpass(TbListExpass tbListExpass)
    {
        return tbListExpassMapper.updateTbListExpass(tbListExpass);
    }

    /**
     * 批量删除
     * 
     * @param hgListIds 需要删除的主键
     * @return 结果
     */
    @Override
    public int deleteTbListExpassByHgListIds(String[] hgListIds)
    {
        return tbListExpassMapper.deleteTbListExpassByHgListIds(hgListIds);
    }

    /**
     * 删除信息
     * 
     * @param hgListId 主键
     * @return 结果
     */
    @Override
    public int deleteTbListExpassByHgListId(String hgListId)
    {
        return tbListExpassMapper.deleteTbListExpassByHgListId(hgListId);
    }
}
